package com.zq.englishlearnserve.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 学习日志
 * @TableName app_learn_log
 */
@TableName(value ="app_learn_log")
@Data
public class LearnLog implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 用户id
     */
    private Long userId;

    /**
     * 单词id
     */
    private Long wordId;

    /**
     * 1:掌握，2:不掌握
     */
    private Integer logId;

    /**
     * 时间
     */
    private Date logTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}